﻿/*------------------------------------------------
// File Description: s_model_earth DataBase Entity
// Author:			 Crane
// Create Time:		 2021-05-11 12:15:14
//------------------------------------------------*/

using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace IOA.OldMes.DataAccess.Entity
{
	/// <summary>
	/// 
	/// </summary>
	[Table("s_model_earth")]
	public class ModelEarth
	{
		private string _solar_no = string.Empty;
		private string _work_order = string.Empty;
		private string _线别 = string.Empty;
		private string _测试类别1 = string.Empty;
		private string _设置电流1 = string.Empty;
		private string _实际电流1 = string.Empty;
		private string _阻值高1 = string.Empty;
		private string _阻值低1 = string.Empty;
		private string _阻值1 = string.Empty;
		private string _结果1 = string.Empty;
		private string _测试类别2 = string.Empty;
		private string _设置电流2 = string.Empty;
		private string _实际电流2 = string.Empty;
		private string _阻值高2 = string.Empty;
		private string _阻值低2 = string.Empty;
		private string _阻值2 = string.Empty;
		private string _结果2 = string.Empty;
		private string _测试类别3 = string.Empty;
		private string _设置电流3 = string.Empty;
		private string _实际电流3 = string.Empty;
		private string _阻值高3 = string.Empty;
		private string _阻值低3 = string.Empty;
		private string _阻值3 = string.Empty;
		private string _结果3 = string.Empty;
		private string _测试类别4 = string.Empty;
		private string _设置电流4 = string.Empty;
		private string _实际电流4 = string.Empty;
		private string _阻值高4 = string.Empty;
		private string _阻值低4 = string.Empty;
		private string _阻值4 = string.Empty;
		private string _结果4 = string.Empty;
		private string _开始时间 = string.Empty;
		private string _结束时间 = string.Empty;
		private string _耗时 = string.Empty;
		private string _结果 = string.Empty;
		private string _set_class = string.Empty;
		private string _set_mc = string.Empty;
		private string _set_op = string.Empty;
		private string _set_no = string.Empty;
		private string _测试类别5 = string.Empty;
		private string _设置电流5 = string.Empty;
		private string _实际电流5 = string.Empty;
		private string _阻值高5 = string.Empty;
		private string _阻值低5 = string.Empty;
		private string _阻值5 = string.Empty;
		private string _结果5 = string.Empty;
		private string _测试类别6 = string.Empty;
		private string _设置电流6 = string.Empty;
		private string _实际电流6 = string.Empty;
		private string _阻值高6 = string.Empty;
		private string _阻值低6 = string.Empty;
		private string _阻值6 = string.Empty;
		private string _结果6 = string.Empty;

		#region Public Property

		///<Summary>
		/// id
		///</Summary>
		public int id { get; set; }

		///<Summary>
		/// solar_no
		///</Summary>
		public string solar_no
		{
			get { return string.IsNullOrWhiteSpace(_solar_no) ? string.Empty : _solar_no; }
			set { _solar_no = value; }
		}

		///<Summary>
		/// work_order
		///</Summary>
		public string work_order
		{
			get { return string.IsNullOrWhiteSpace(_work_order) ? string.Empty : _work_order; }
			set { _work_order = value; }
		}

		///<Summary>
		/// in_time
		///</Summary>
		public int? in_time { get; set; }

		///<Summary>
		/// 线别
		///</Summary>
		public string 线别
		{
			get { return string.IsNullOrWhiteSpace(_线别) ? string.Empty : _线别; }
			set { _线别 = value; }
		}

		///<Summary>
		/// 测试类别1
		///</Summary>
		public string 测试类别1
		{
			get { return string.IsNullOrWhiteSpace(_测试类别1) ? string.Empty : _测试类别1; }
			set { _测试类别1 = value; }
		}

		///<Summary>
		/// 设置电流1
		///</Summary>
		public string 设置电流1
		{
			get { return string.IsNullOrWhiteSpace(_设置电流1) ? string.Empty : _设置电流1; }
			set { _设置电流1 = value; }
		}

		///<Summary>
		/// 实际电流1
		///</Summary>
		public string 实际电流1
		{
			get { return string.IsNullOrWhiteSpace(_实际电流1) ? string.Empty : _实际电流1; }
			set { _实际电流1 = value; }
		}

		///<Summary>
		/// 阻值高1
		///</Summary>
		public string 阻值高1
		{
			get { return string.IsNullOrWhiteSpace(_阻值高1) ? string.Empty : _阻值高1; }
			set { _阻值高1 = value; }
		}

		///<Summary>
		/// 阻值低1
		///</Summary>
		public string 阻值低1
		{
			get { return string.IsNullOrWhiteSpace(_阻值低1) ? string.Empty : _阻值低1; }
			set { _阻值低1 = value; }
		}

		///<Summary>
		/// 阻值1
		///</Summary>
		public string 阻值1
		{
			get { return string.IsNullOrWhiteSpace(_阻值1) ? string.Empty : _阻值1; }
			set { _阻值1 = value; }
		}

		///<Summary>
		/// 结果1
		///</Summary>
		public string 结果1
		{
			get { return string.IsNullOrWhiteSpace(_结果1) ? string.Empty : _结果1; }
			set { _结果1 = value; }
		}

		///<Summary>
		/// 测试类别2
		///</Summary>
		public string 测试类别2
		{
			get { return string.IsNullOrWhiteSpace(_测试类别2) ? string.Empty : _测试类别2; }
			set { _测试类别2 = value; }
		}

		///<Summary>
		/// 设置电流2
		///</Summary>
		public string 设置电流2
		{
			get { return string.IsNullOrWhiteSpace(_设置电流2) ? string.Empty : _设置电流2; }
			set { _设置电流2 = value; }
		}

		///<Summary>
		/// 实际电流2
		///</Summary>
		public string 实际电流2
		{
			get { return string.IsNullOrWhiteSpace(_实际电流2) ? string.Empty : _实际电流2; }
			set { _实际电流2 = value; }
		}

		///<Summary>
		/// 阻值高2
		///</Summary>
		public string 阻值高2
		{
			get { return string.IsNullOrWhiteSpace(_阻值高2) ? string.Empty : _阻值高2; }
			set { _阻值高2 = value; }
		}

		///<Summary>
		/// 阻值低2
		///</Summary>
		public string 阻值低2
		{
			get { return string.IsNullOrWhiteSpace(_阻值低2) ? string.Empty : _阻值低2; }
			set { _阻值低2 = value; }
		}

		///<Summary>
		/// 阻值2
		///</Summary>
		public string 阻值2
		{
			get { return string.IsNullOrWhiteSpace(_阻值2) ? string.Empty : _阻值2; }
			set { _阻值2 = value; }
		}

		///<Summary>
		/// 结果2
		///</Summary>
		public string 结果2
		{
			get { return string.IsNullOrWhiteSpace(_结果2) ? string.Empty : _结果2; }
			set { _结果2 = value; }
		}

		///<Summary>
		/// 测试类别3
		///</Summary>
		public string 测试类别3
		{
			get { return string.IsNullOrWhiteSpace(_测试类别3) ? string.Empty : _测试类别3; }
			set { _测试类别3 = value; }
		}

		///<Summary>
		/// 设置电流3
		///</Summary>
		public string 设置电流3
		{
			get { return string.IsNullOrWhiteSpace(_设置电流3) ? string.Empty : _设置电流3; }
			set { _设置电流3 = value; }
		}

		///<Summary>
		/// 实际电流3
		///</Summary>
		public string 实际电流3
		{
			get { return string.IsNullOrWhiteSpace(_实际电流3) ? string.Empty : _实际电流3; }
			set { _实际电流3 = value; }
		}

		///<Summary>
		/// 阻值高3
		///</Summary>
		public string 阻值高3
		{
			get { return string.IsNullOrWhiteSpace(_阻值高3) ? string.Empty : _阻值高3; }
			set { _阻值高3 = value; }
		}

		///<Summary>
		/// 阻值低3
		///</Summary>
		public string 阻值低3
		{
			get { return string.IsNullOrWhiteSpace(_阻值低3) ? string.Empty : _阻值低3; }
			set { _阻值低3 = value; }
		}

		///<Summary>
		/// 阻值3
		///</Summary>
		public string 阻值3
		{
			get { return string.IsNullOrWhiteSpace(_阻值3) ? string.Empty : _阻值3; }
			set { _阻值3 = value; }
		}

		///<Summary>
		/// 结果3
		///</Summary>
		public string 结果3
		{
			get { return string.IsNullOrWhiteSpace(_结果3) ? string.Empty : _结果3; }
			set { _结果3 = value; }
		}

		///<Summary>
		/// 测试类别4
		///</Summary>
		public string 测试类别4
		{
			get { return string.IsNullOrWhiteSpace(_测试类别4) ? string.Empty : _测试类别4; }
			set { _测试类别4 = value; }
		}

		///<Summary>
		/// 设置电流4
		///</Summary>
		public string 设置电流4
		{
			get { return string.IsNullOrWhiteSpace(_设置电流4) ? string.Empty : _设置电流4; }
			set { _设置电流4 = value; }
		}

		///<Summary>
		/// 实际电流4
		///</Summary>
		public string 实际电流4
		{
			get { return string.IsNullOrWhiteSpace(_实际电流4) ? string.Empty : _实际电流4; }
			set { _实际电流4 = value; }
		}

		///<Summary>
		/// 阻值高4
		///</Summary>
		public string 阻值高4
		{
			get { return string.IsNullOrWhiteSpace(_阻值高4) ? string.Empty : _阻值高4; }
			set { _阻值高4 = value; }
		}

		///<Summary>
		/// 阻值低4
		///</Summary>
		public string 阻值低4
		{
			get { return string.IsNullOrWhiteSpace(_阻值低4) ? string.Empty : _阻值低4; }
			set { _阻值低4 = value; }
		}

		///<Summary>
		/// 阻值4
		///</Summary>
		public string 阻值4
		{
			get { return string.IsNullOrWhiteSpace(_阻值4) ? string.Empty : _阻值4; }
			set { _阻值4 = value; }
		}

		///<Summary>
		/// 结果4
		///</Summary>
		public string 结果4
		{
			get { return string.IsNullOrWhiteSpace(_结果4) ? string.Empty : _结果4; }
			set { _结果4 = value; }
		}

		///<Summary>
		/// 开始时间
		///</Summary>
		public string 开始时间
		{
			get { return string.IsNullOrWhiteSpace(_开始时间) ? string.Empty : _开始时间; }
			set { _开始时间 = value; }
		}

		///<Summary>
		/// 结束时间
		///</Summary>
		public string 结束时间
		{
			get { return string.IsNullOrWhiteSpace(_结束时间) ? string.Empty : _结束时间; }
			set { _结束时间 = value; }
		}

		///<Summary>
		/// 耗时
		///</Summary>
		public string 耗时
		{
			get { return string.IsNullOrWhiteSpace(_耗时) ? string.Empty : _耗时; }
			set { _耗时 = value; }
		}

		///<Summary>
		/// 结果
		///</Summary>
		public string 结果
		{
			get { return string.IsNullOrWhiteSpace(_结果) ? string.Empty : _结果; }
			set { _结果 = value; }
		}

		///<Summary>
		/// set_class
		///</Summary>
		public string set_class
		{
			get { return string.IsNullOrWhiteSpace(_set_class) ? string.Empty : _set_class; }
			set { _set_class = value; }
		}

		///<Summary>
		/// set_mc
		///</Summary>
		public string set_mc
		{
			get { return string.IsNullOrWhiteSpace(_set_mc) ? string.Empty : _set_mc; }
			set { _set_mc = value; }
		}

		///<Summary>
		/// set_op
		///</Summary>
		public string set_op
		{
			get { return string.IsNullOrWhiteSpace(_set_op) ? string.Empty : _set_op; }
			set { _set_op = value; }
		}

		///<Summary>
		/// set_no
		///</Summary>
		public string set_no
		{
			get { return string.IsNullOrWhiteSpace(_set_no) ? string.Empty : _set_no; }
			set { _set_no = value; }
		}

		///<Summary>
		/// set_time
		///</Summary>
		public DateTime? set_time { get; set; }

		///<Summary>
		/// 测试类别5
		///</Summary>
		public string 测试类别5
		{
			get { return string.IsNullOrWhiteSpace(_测试类别5) ? string.Empty : _测试类别5; }
			set { _测试类别5 = value; }
		}

		///<Summary>
		/// 设置电流5
		///</Summary>
		public string 设置电流5
		{
			get { return string.IsNullOrWhiteSpace(_设置电流5) ? string.Empty : _设置电流5; }
			set { _设置电流5 = value; }
		}

		///<Summary>
		/// 实际电流5
		///</Summary>
		public string 实际电流5
		{
			get { return string.IsNullOrWhiteSpace(_实际电流5) ? string.Empty : _实际电流5; }
			set { _实际电流5 = value; }
		}

		///<Summary>
		/// 阻值高5
		///</Summary>
		public string 阻值高5
		{
			get { return string.IsNullOrWhiteSpace(_阻值高5) ? string.Empty : _阻值高5; }
			set { _阻值高5 = value; }
		}

		///<Summary>
		/// 阻值低5
		///</Summary>
		public string 阻值低5
		{
			get { return string.IsNullOrWhiteSpace(_阻值低5) ? string.Empty : _阻值低5; }
			set { _阻值低5 = value; }
		}

		///<Summary>
		/// 阻值5
		///</Summary>
		public string 阻值5
		{
			get { return string.IsNullOrWhiteSpace(_阻值5) ? string.Empty : _阻值5; }
			set { _阻值5 = value; }
		}

		///<Summary>
		/// 结果5
		///</Summary>
		public string 结果5
		{
			get { return string.IsNullOrWhiteSpace(_结果5) ? string.Empty : _结果5; }
			set { _结果5 = value; }
		}

		///<Summary>
		/// 测试类别6
		///</Summary>
		public string 测试类别6
		{
			get { return string.IsNullOrWhiteSpace(_测试类别6) ? string.Empty : _测试类别6; }
			set { _测试类别6 = value; }
		}

		///<Summary>
		/// 设置电流6
		///</Summary>
		public string 设置电流6
		{
			get { return string.IsNullOrWhiteSpace(_设置电流6) ? string.Empty : _设置电流6; }
			set { _设置电流6 = value; }
		}

		///<Summary>
		/// 实际电流6
		///</Summary>
		public string 实际电流6
		{
			get { return string.IsNullOrWhiteSpace(_实际电流6) ? string.Empty : _实际电流6; }
			set { _实际电流6 = value; }
		}

		///<Summary>
		/// 阻值高6
		///</Summary>
		public string 阻值高6
		{
			get { return string.IsNullOrWhiteSpace(_阻值高6) ? string.Empty : _阻值高6; }
			set { _阻值高6 = value; }
		}

		///<Summary>
		/// 阻值低6
		///</Summary>
		public string 阻值低6
		{
			get { return string.IsNullOrWhiteSpace(_阻值低6) ? string.Empty : _阻值低6; }
			set { _阻值低6 = value; }
		}

		///<Summary>
		/// 阻值6
		///</Summary>
		public string 阻值6
		{
			get { return string.IsNullOrWhiteSpace(_阻值6) ? string.Empty : _阻值6; }
			set { _阻值6 = value; }
		}

		///<Summary>
		/// 结果6
		///</Summary>
		public string 结果6
		{
			get { return string.IsNullOrWhiteSpace(_结果6) ? string.Empty : _结果6; }
			set { _结果6 = value; }
		}
		#endregion
	}

	public partial class OldMESContext
	{
		/// <summary>
		/// 
		/// </summary>
		public virtual DbSet<ModelEarth> ModelEarthes { get; set; }
	}
}